test('未授权访问测试', async () => {
  const response = await fetch('/api/admin');
  expect(response.status).toBe(401);
});